package com.libary.service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.libary.dao.IUserDao;
import com.libary.dto.User;
import com.libary.service.IUserService;

@Service(value = "userService")
public class UserServiceImpl implements  IUserService {
	
	@Autowired
	private IUserDao userDao;
	
	@Override
	public boolean loginCheck(User user) {
		return userDao.loginCheck(user);
	}
	@Override
	public User getUserInfo(User loginUser) {
		return userDao.getUserInfo(loginUser);
	}

}
